package com.dc.system.mapper;

import com.dc.system.model.SysLoginlog;
import com.dc.system.model.SysOperationlog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface LogMapper {
    //插入登录日志
    int insertLoginlog(SysLoginlog sysLoginlog);
    //查询登录日志
    List<SysLoginlog> getLoginlogs(Map map);
    //插入操作日志
    int insertOperationLog(SysOperationlog systemOperationLog);
    //查询操作日志
    List<SysOperationlog> getOperationlogs(Map map);
}
